<?php
if (!defined ('TYPO3_MODE')) 	die ('Access denied.');
$tempColumns = Array (
	"tx_ttnewsyoutube_youtubevideo" => Array (		
		"exclude" => 1,		
		"label" => "LLL:EXT:ttnews_youtube/locallang_db.xml:tt_news.tx_ttnewsyoutube_youtubevideo",		
		"config" => Array (
			"type" => "input",
			"size" => "15",
			"max" => "255",
			"checkbox" => "",
			"eval" => "trim",
			"wizards" => Array(
				"_PADDING" => 2,
				"link" => Array(
					"type" => "popup",
					"title" => "Link",
					"icon" => "link_popup.gif",
					"script" => "browse_links.php?mode=wizard",
					"JSopenParams" => "height=300,width=500,status=0,menubar=0,scrollbars=1"
				)
			)
		)
	),
	"tx_ttnewsyoutube_youtubewidth" => Array (		
		"exclude" => 1,		
		"label" => "LLL:EXT:ttnews_youtube/locallang_db.xml:tt_news.tx_ttnewsyoutube_youtubewidth",		
		"config" => Array (
			"type" => "input",	
			"size" => "30",	
			"max" => "8",	
			"eval" => "int,nospace",
		)
	),
	"tx_ttnewsyoutube_youtubeheight" => Array (		
		"exclude" => 1,		
		"label" => "LLL:EXT:ttnews_youtube/locallang_db.xml:tt_news.tx_ttnewsyoutube_youtubeheight",		
		"config" => Array (
			"type" => "input",	
			"size" => "30",	
			"max" => "8",	
			"eval" => "int,nospace",
		)
	),
);


t3lib_div::loadTCA("tt_news");
t3lib_extMgm::addTCAcolumns("tt_news",$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes("tt_news","tx_ttnewsyoutube_youtubevideo;;;;1-1-1, tx_ttnewsyoutube_youtubewidth, tx_ttnewsyoutube_youtubeheight");
?>